This commit adds support to Cargo to pass `--cap-lints allow` to all upstream
dependencies instead of `-A warings`. This should serve the same purpose of
suppressing warnings in upstream dependencies as well as preventing widespread
breakage whenever a change to a lint is introduced in the compiler.
use std::collections::{HashSet, HashMap};
use std::env;
-use std::ffi::OsString;
+use std::ffi::{OsStr, OsString};
use std::fs;
use std::io::prelude::*;
- use std::path::{self, Path, PathBuf};
+ use std::path::{self, PathBuf};
use std::sync::Arc;
use core::{SourceMap, Package, PackageId, PackageSet, Target, Resolve};